3.7.98 \(\int \frac {1}{a-b x^2+c x^4} \, dx\)

Optimal. Leaf size=150 \[ \frac {\sqrt {2} \sqrt {c} \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{\sqrt {b^2-4 a c} \sqrt {b-\sqrt {b^2-4 a c}}}-\frac {\sqrt {2} \sqrt {c} \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {\sqrt {b^2-4 a c}+b}}\right )}{\sqrt {b^2-4 a c} \sqrt {\sqrt {b^2-4 a c}+b}} \]

________________________________________________________________________________________

Rubi [A]  time = 0.07, antiderivative size = 150, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 2, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.133, Rules used = {1093, 208} \begin {gather*} \frac {\sqrt {2} \sqrt {c} \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{\sqrt {b^2-4 a c} \sqrt {b-\sqrt {b^2-4 a c}}}-\frac {\sqrt {2} \sqrt {c} \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {\sqrt {b^2-4 a c}+b}}\right )}{\sqrt {b^2-4 a c} \sqrt {\sqrt {b^2-4 a c}+b}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a - b*x^2 + c*x^4)^(-1),x]

[Out]

(Sqrt[2]*Sqrt[c]*ArcTanh[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b - Sqrt[b^2 - 4*a*c]]])/(Sqrt[b^2 - 4*a*c]*Sqrt[b - Sqrt[b^
2 - 4*a*c]]) - (Sqrt[2]*Sqrt[c]*ArcTanh[(Sqrt[2]*Sqrt[c]*x)/Sqrt[b + Sqrt[b^2 - 4*a*c]]])/(Sqrt[b^2 - 4*a*c]*S
qrt[b + Sqrt[b^2 - 4*a*c]])

Rule 208

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-(a/b), 2]*ArcTanh[x/Rt[-(a/b), 2]])/a, x] /; FreeQ[{a,
b}, x] && NegQ[a/b]

Rule 1093

Int[((a_) + (b_.)*(x_)^2 + (c_.)*(x_)^4)^(-1), x_Symbol] :> With[{q = Rt[b^2 - 4*a*c, 2]}, Dist[c/q, Int[1/(b/
2 - q/2 + c*x^2), x], x] - Dist[c/q, Int[1/(b/2 + q/2 + c*x^2), x], x]] /; FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*
a*c, 0] && PosQ[b^2 - 4*a*c]

Rubi steps

\begin {align*} \int \frac {1}{a-b x^2+c x^4} \, dx &=\frac {c \int \frac {1}{-\frac {b}{2}-\frac {1}{2} \sqrt {b^2-4 a c}+c x^2} \, dx}{\sqrt {b^2-4 a c}}-\frac {c \int \frac {1}{-\frac {b}{2}+\frac {1}{2} \sqrt {b^2-4 a c}+c x^2} \, dx}{\sqrt {b^2-4 a c}}\\ &=\frac {\sqrt {2} \sqrt {c} \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b-\sqrt {b^2-4 a c}}}\right )}{\sqrt {b^2-4 a c} \sqrt {b-\sqrt {b^2-4 a c}}}-\frac {\sqrt {2} \sqrt {c} \tanh ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {b+\sqrt {b^2-4 a c}}}\right )}{\sqrt {b^2-4 a c} \sqrt {b+\sqrt {b^2-4 a c}}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 0.08, size = 137, normalized size = 0.91 \begin {gather*} \frac {\sqrt {2} \sqrt {c} \left (\frac {\tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {-\sqrt {b^2-4 a c}-b}}\right )}{\sqrt {-\sqrt {b^2-4 a c}-b}}-\frac {\tan ^{-1}\left (\frac {\sqrt {2} \sqrt {c} x}{\sqrt {\sqrt {b^2-4 a c}-b}}\right )}{\sqrt {\sqrt {b^2-4 a c}-b}}\right )}{\sqrt {b^2-4 a c}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a - b*x^2 + c*x^4)^(-1),x]

[Out]

(Sqrt[2]*Sqrt[c]*(ArcTan[(Sqrt[2]*Sqrt[c]*x)/Sqrt[-b - Sqrt[b^2 - 4*a*c]]]/Sqrt[-b - Sqrt[b^2 - 4*a*c]] - ArcT
an[(Sqrt[2]*Sqrt[c]*x)/Sqrt[-b + Sqrt[b^2 - 4*a*c]]]/Sqrt[-b + Sqrt[b^2 - 4*a*c]]))/Sqrt[b^2 - 4*a*c]

________________________________________________________________________________________

IntegrateAlgebraic [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{a-b x^2+c x^4} \, dx \end {gather*}

Verification is not applicable to the result.

[In]

IntegrateAlgebraic[(a - b*x^2 + c*x^4)^(-1),x]

[Out]

IntegrateAlgebraic[(a - b*x^2 + c*x^4)^(-1), x]

________________________________________________________________________________________

fricas [B]  time = 0.82, size = 605, normalized size = 4.03 \begin {gather*} -\frac {1}{2} \, \sqrt {\frac {1}{2}} \sqrt {\frac {b + \frac {a b^{2} - 4 \, a^{2} c}{\sqrt {a^{2} b^{2} - 4 \, a^{3} c}}}{a b^{2} - 4 \, a^{2} c}} \log \left (2 \, c x + \sqrt {\frac {1}{2}} {\left (b^{2} - 4 \, a c - \frac {a b^{3} - 4 \, a^{2} b c}{\sqrt {a^{2} b^{2} - 4 \, a^{3} c}}\right )} \sqrt {\frac {b + \frac {a b^{2} - 4 \, a^{2} c}{\sqrt {a^{2} b^{2} - 4 \, a^{3} c}}}{a b^{2} - 4 \, a^{2} c}}\right ) + \frac {1}{2} \, \sqrt {\frac {1}{2}} \sqrt {\frac {b + \frac {a b^{2} - 4 \, a^{2} c}{\sqrt {a^{2} b^{2} - 4 \, a^{3} c}}}{a b^{2} - 4 \, a^{2} c}} \log \left (2 \, c x - \sqrt {\frac {1}{2}} {\left (b^{2} - 4 \, a c - \frac {a b^{3} - 4 \, a^{2} b c}{\sqrt {a^{2} b^{2} - 4 \, a^{3} c}}\right )} \sqrt {\frac {b + \frac {a b^{2} - 4 \, a^{2} c}{\sqrt {a^{2} b^{2} - 4 \, a^{3} c}}}{a b^{2} - 4 \, a^{2} c}}\right ) - \frac {1}{2} \, \sqrt {\frac {1}{2}} \sqrt {\frac {b - \frac {a b^{2} - 4 \, a^{2} c}{\sqrt {a^{2} b^{2} - 4 \, a^{3} c}}}{a b^{2} - 4 \, a^{2} c}} \log \left (2 \, c x + \sqrt {\frac {1}{2}} {\left (b^{2} - 4 \, a c + \frac {a b^{3} - 4 \, a^{2} b c}{\sqrt {a^{2} b^{2} - 4 \, a^{3} c}}\right )} \sqrt {\frac {b - \frac {a b^{2} - 4 \, a^{2} c}{\sqrt {a^{2} b^{2} - 4 \, a^{3} c}}}{a b^{2} - 4 \, a^{2} c}}\right ) + \frac {1}{2} \, \sqrt {\frac {1}{2}} \sqrt {\frac {b - \frac {a b^{2} - 4 \, a^{2} c}{\sqrt {a^{2} b^{2} - 4 \, a^{3} c}}}{a b^{2} - 4 \, a^{2} c}} \log \left (2 \, c x - \sqrt {\frac {1}{2}} {\left (b^{2} - 4 \, a c + \frac {a b^{3} - 4 \, a^{2} b c}{\sqrt {a^{2} b^{2} - 4 \, a^{3} c}}\right )} \sqrt {\frac {b - \frac {a b^{2} - 4 \, a^{2} c}{\sqrt {a^{2} b^{2} - 4 \, a^{3} c}}}{a b^{2} - 4 \, a^{2} c}}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(c*x^4-b*x^2+a),x, algorithm="fricas")

[Out]

-1/2*sqrt(1/2)*sqrt((b + (a*b^2 - 4*a^2*c)/sqrt(a^2*b^2 - 4*a^3*c))/(a*b^2 - 4*a^2*c))*log(2*c*x + sqrt(1/2)*(
b^2 - 4*a*c - (a*b^3 - 4*a^2*b*c)/sqrt(a^2*b^2 - 4*a^3*c))*sqrt((b + (a*b^2 - 4*a^2*c)/sqrt(a^2*b^2 - 4*a^3*c)
)/(a*b^2 - 4*a^2*c))) + 1/2*sqrt(1/2)*sqrt((b + (a*b^2 - 4*a^2*c)/sqrt(a^2*b^2 - 4*a^3*c))/(a*b^2 - 4*a^2*c))*
log(2*c*x - sqrt(1/2)*(b^2 - 4*a*c - (a*b^3 - 4*a^2*b*c)/sqrt(a^2*b^2 - 4*a^3*c))*sqrt((b + (a*b^2 - 4*a^2*c)/
sqrt(a^2*b^2 - 4*a^3*c))/(a*b^2 - 4*a^2*c))) - 1/2*sqrt(1/2)*sqrt((b - (a*b^2 - 4*a^2*c)/sqrt(a^2*b^2 - 4*a^3*
c))/(a*b^2 - 4*a^2*c))*log(2*c*x + sqrt(1/2)*(b^2 - 4*a*c + (a*b^3 - 4*a^2*b*c)/sqrt(a^2*b^2 - 4*a^3*c))*sqrt(
(b - (a*b^2 - 4*a^2*c)/sqrt(a^2*b^2 - 4*a^3*c))/(a*b^2 - 4*a^2*c))) + 1/2*sqrt(1/2)*sqrt((b - (a*b^2 - 4*a^2*c
)/sqrt(a^2*b^2 - 4*a^3*c))/(a*b^2 - 4*a^2*c))*log(2*c*x - sqrt(1/2)*(b^2 - 4*a*c + (a*b^3 - 4*a^2*b*c)/sqrt(a^
2*b^2 - 4*a^3*c))*sqrt((b - (a*b^2 - 4*a^2*c)/sqrt(a^2*b^2 - 4*a^3*c))/(a*b^2 - 4*a^2*c)))

________________________________________________________________________________________

giac [B]  time = 0.57, size = 1050, normalized size = 7.00 \begin {gather*} \frac {{\left (\sqrt {2} \sqrt {-b c - \sqrt {b^{2} - 4 \, a c} c} b^{4} - 8 \, \sqrt {2} \sqrt {-b c - \sqrt {b^{2} - 4 \, a c} c} a b^{2} c + 2 \, \sqrt {2} \sqrt {-b c - \sqrt {b^{2} - 4 \, a c} c} b^{3} c + 2 \, b^{4} c + 16 \, \sqrt {2} \sqrt {-b c - \sqrt {b^{2} - 4 \, a c} c} a^{2} c^{2} - 8 \, \sqrt {2} \sqrt {-b c - \sqrt {b^{2} - 4 \, a c} c} a b c^{2} + \sqrt {2} \sqrt {-b c - \sqrt {b^{2} - 4 \, a c} c} b^{2} c^{2} - 16 \, a b^{2} c^{2} + 2 \, b^{3} c^{2} - 4 \, \sqrt {2} \sqrt {-b c - \sqrt {b^{2} - 4 \, a c} c} a c^{3} + 32 \, a^{2} c^{3} - 8 \, a b c^{3} - \sqrt {2} \sqrt {b^{2} - 4 \, a c} \sqrt {-b c - \sqrt {b^{2} - 4 \, a c} c} b^{3} + 4 \, \sqrt {2} \sqrt {b^{2} - 4 \, a c} \sqrt {-b c - \sqrt {b^{2} - 4 \, a c} c} a b c - 2 \, \sqrt {2} \sqrt {b^{2} - 4 \, a c} \sqrt {-b c - \sqrt {b^{2} - 4 \, a c} c} b^{2} c - \sqrt {2} \sqrt {b^{2} - 4 \, a c} \sqrt {-b c - \sqrt {b^{2} - 4 \, a c} c} b c^{2} - 2 \, {\left (b^{2} - 4 \, a c\right )} b^{2} c + 8 \, {\left (b^{2} - 4 \, a c\right )} a c^{2} - 2 \, {\left (b^{2} - 4 \, a c\right )} b c^{2}\right )} \arctan \left (\frac {2 \, \sqrt {\frac {1}{2}} x}{\sqrt {-\frac {b + \sqrt {b^{2} - 4 \, a c}}{c}}}\right )}{4 \, {\left (a b^{4} - 8 \, a^{2} b^{2} c + 2 \, a b^{3} c + 16 \, a^{3} c^{2} - 8 \, a^{2} b c^{2} + a b^{2} c^{2} - 4 \, a^{2} c^{3}\right )} {\left | c \right |}} + \frac {{\left (\sqrt {2} \sqrt {-b c + \sqrt {b^{2} - 4 \, a c} c} b^{4} - 8 \, \sqrt {2} \sqrt {-b c + \sqrt {b^{2} - 4 \, a c} c} a b^{2} c + 2 \, \sqrt {2} \sqrt {-b c + \sqrt {b^{2} - 4 \, a c} c} b^{3} c - 2 \, b^{4} c + 16 \, \sqrt {2} \sqrt {-b c + \sqrt {b^{2} - 4 \, a c} c} a^{2} c^{2} - 8 \, \sqrt {2} \sqrt {-b c + \sqrt {b^{2} - 4 \, a c} c} a b c^{2} + \sqrt {2} \sqrt {-b c + \sqrt {b^{2} - 4 \, a c} c} b^{2} c^{2} + 16 \, a b^{2} c^{2} - 2 \, b^{3} c^{2} - 4 \, \sqrt {2} \sqrt {-b c + \sqrt {b^{2} - 4 \, a c} c} a c^{3} - 32 \, a^{2} c^{3} + 8 \, a b c^{3} + \sqrt {2} \sqrt {b^{2} - 4 \, a c} \sqrt {-b c + \sqrt {b^{2} - 4 \, a c} c} b^{3} - 4 \, \sqrt {2} \sqrt {b^{2} - 4 \, a c} \sqrt {-b c + \sqrt {b^{2} - 4 \, a c} c} a b c + 2 \, \sqrt {2} \sqrt {b^{2} - 4 \, a c} \sqrt {-b c + \sqrt {b^{2} - 4 \, a c} c} b^{2} c + \sqrt {2} \sqrt {b^{2} - 4 \, a c} \sqrt {-b c + \sqrt {b^{2} - 4 \, a c} c} b c^{2} + 2 \, {\left (b^{2} - 4 \, a c\right )} b^{2} c - 8 \, {\left (b^{2} - 4 \, a c\right )} a c^{2} + 2 \, {\left (b^{2} - 4 \, a c\right )} b c^{2}\right )} \arctan \left (\frac {2 \, \sqrt {\frac {1}{2}} x}{\sqrt {-\frac {b - \sqrt {b^{2} - 4 \, a c}}{c}}}\right )}{4 \, {\left (a b^{4} - 8 \, a^{2} b^{2} c + 2 \, a b^{3} c + 16 \, a^{3} c^{2} - 8 \, a^{2} b c^{2} + a b^{2} c^{2} - 4 \, a^{2} c^{3}\right )} {\left | c \right |}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(c*x^4-b*x^2+a),x, algorithm="giac")

[Out]

1/4*(sqrt(2)*sqrt(-b*c - sqrt(b^2 - 4*a*c)*c)*b^4 - 8*sqrt(2)*sqrt(-b*c - sqrt(b^2 - 4*a*c)*c)*a*b^2*c + 2*sqr
t(2)*sqrt(-b*c - sqrt(b^2 - 4*a*c)*c)*b^3*c + 2*b^4*c + 16*sqrt(2)*sqrt(-b*c - sqrt(b^2 - 4*a*c)*c)*a^2*c^2 -
8*sqrt(2)*sqrt(-b*c - sqrt(b^2 - 4*a*c)*c)*a*b*c^2 + sqrt(2)*sqrt(-b*c - sqrt(b^2 - 4*a*c)*c)*b^2*c^2 - 16*a*b
^2*c^2 + 2*b^3*c^2 - 4*sqrt(2)*sqrt(-b*c - sqrt(b^2 - 4*a*c)*c)*a*c^3 + 32*a^2*c^3 - 8*a*b*c^3 - sqrt(2)*sqrt(
b^2 - 4*a*c)*sqrt(-b*c - sqrt(b^2 - 4*a*c)*c)*b^3 + 4*sqrt(2)*sqrt(b^2 - 4*a*c)*sqrt(-b*c - sqrt(b^2 - 4*a*c)*
c)*a*b*c - 2*sqrt(2)*sqrt(b^2 - 4*a*c)*sqrt(-b*c - sqrt(b^2 - 4*a*c)*c)*b^2*c - sqrt(2)*sqrt(b^2 - 4*a*c)*sqrt
(-b*c - sqrt(b^2 - 4*a*c)*c)*b*c^2 - 2*(b^2 - 4*a*c)*b^2*c + 8*(b^2 - 4*a*c)*a*c^2 - 2*(b^2 - 4*a*c)*b*c^2)*ar
ctan(2*sqrt(1/2)*x/sqrt(-(b + sqrt(b^2 - 4*a*c))/c))/((a*b^4 - 8*a^2*b^2*c + 2*a*b^3*c + 16*a^3*c^2 - 8*a^2*b*
c^2 + a*b^2*c^2 - 4*a^2*c^3)*abs(c)) + 1/4*(sqrt(2)*sqrt(-b*c + sqrt(b^2 - 4*a*c)*c)*b^4 - 8*sqrt(2)*sqrt(-b*c
 + sqrt(b^2 - 4*a*c)*c)*a*b^2*c + 2*sqrt(2)*sqrt(-b*c + sqrt(b^2 - 4*a*c)*c)*b^3*c - 2*b^4*c + 16*sqrt(2)*sqrt
(-b*c + sqrt(b^2 - 4*a*c)*c)*a^2*c^2 - 8*sqrt(2)*sqrt(-b*c + sqrt(b^2 - 4*a*c)*c)*a*b*c^2 + sqrt(2)*sqrt(-b*c
+ sqrt(b^2 - 4*a*c)*c)*b^2*c^2 + 16*a*b^2*c^2 - 2*b^3*c^2 - 4*sqrt(2)*sqrt(-b*c + sqrt(b^2 - 4*a*c)*c)*a*c^3 -
 32*a^2*c^3 + 8*a*b*c^3 + sqrt(2)*sqrt(b^2 - 4*a*c)*sqrt(-b*c + sqrt(b^2 - 4*a*c)*c)*b^3 - 4*sqrt(2)*sqrt(b^2
- 4*a*c)*sqrt(-b*c + sqrt(b^2 - 4*a*c)*c)*a*b*c + 2*sqrt(2)*sqrt(b^2 - 4*a*c)*sqrt(-b*c + sqrt(b^2 - 4*a*c)*c)
*b^2*c + sqrt(2)*sqrt(b^2 - 4*a*c)*sqrt(-b*c + sqrt(b^2 - 4*a*c)*c)*b*c^2 + 2*(b^2 - 4*a*c)*b^2*c - 8*(b^2 - 4
*a*c)*a*c^2 + 2*(b^2 - 4*a*c)*b*c^2)*arctan(2*sqrt(1/2)*x/sqrt(-(b - sqrt(b^2 - 4*a*c))/c))/((a*b^4 - 8*a^2*b^
2*c + 2*a*b^3*c + 16*a^3*c^2 - 8*a^2*b*c^2 + a*b^2*c^2 - 4*a^2*c^3)*abs(c))

________________________________________________________________________________________

maple [A]  time = 0.01, size = 116, normalized size = 0.77 \begin {gather*} -\frac {\sqrt {2}\, c \arctanh \left (\frac {\sqrt {2}\, c x}{\sqrt {\left (b +\sqrt {-4 a c +b^{2}}\right ) c}}\right )}{\sqrt {-4 a c +b^{2}}\, \sqrt {\left (b +\sqrt {-4 a c +b^{2}}\right ) c}}-\frac {\sqrt {2}\, c \arctan \left (\frac {\sqrt {2}\, c x}{\sqrt {\left (-b +\sqrt {-4 a c +b^{2}}\right ) c}}\right )}{\sqrt {-4 a c +b^{2}}\, \sqrt {\left (-b +\sqrt {-4 a c +b^{2}}\right ) c}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(c*x^4-b*x^2+a),x)

[Out]

-c/(-4*a*c+b^2)^(1/2)*2^(1/2)/((b+(-4*a*c+b^2)^(1/2))*c)^(1/2)*arctanh(2^(1/2)/((b+(-4*a*c+b^2)^(1/2))*c)^(1/2
)*c*x)-c/(-4*a*c+b^2)^(1/2)*2^(1/2)/((-b+(-4*a*c+b^2)^(1/2))*c)^(1/2)*arctan(2^(1/2)/((-b+(-4*a*c+b^2)^(1/2))*
c)^(1/2)*c*x)

________________________________________________________________________________________

maxima [F]  time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {1}{c x^{4} - b x^{2} + a}\,{d x} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(c*x^4-b*x^2+a),x, algorithm="maxima")

[Out]

integrate(1/(c*x^4 - b*x^2 + a), x)

________________________________________________________________________________________

mupad [B]  time = 0.49, size = 763, normalized size = 5.09 \begin {gather*} -\mathrm {atan}\left (\frac {b^4\,x\,1{}\mathrm {i}+b\,x\,\sqrt {-64\,a^3\,c^3+48\,a^2\,b^2\,c^2-12\,a\,b^4\,c+b^6}\,1{}\mathrm {i}+a^2\,c^2\,x\,16{}\mathrm {i}-a\,b^2\,c\,x\,8{}\mathrm {i}}{4\,a\,b^4\,\sqrt {\frac {b^3+\sqrt {-64\,a^3\,c^3+48\,a^2\,b^2\,c^2-12\,a\,b^4\,c+b^6}-4\,a\,b\,c}{128\,a^3\,c^2-64\,a^2\,b^2\,c+8\,a\,b^4}}+64\,a^3\,c^2\,\sqrt {\frac {b^3+\sqrt {-64\,a^3\,c^3+48\,a^2\,b^2\,c^2-12\,a\,b^4\,c+b^6}-4\,a\,b\,c}{128\,a^3\,c^2-64\,a^2\,b^2\,c+8\,a\,b^4}}-32\,a^2\,b^2\,c\,\sqrt {\frac {b^3+\sqrt {-64\,a^3\,c^3+48\,a^2\,b^2\,c^2-12\,a\,b^4\,c+b^6}-4\,a\,b\,c}{128\,a^3\,c^2-64\,a^2\,b^2\,c+8\,a\,b^4}}}\right )\,\sqrt {\frac {b^3+\sqrt {-64\,a^3\,c^3+48\,a^2\,b^2\,c^2-12\,a\,b^4\,c+b^6}-4\,a\,b\,c}{128\,a^3\,c^2-64\,a^2\,b^2\,c+8\,a\,b^4}}\,2{}\mathrm {i}-\mathrm {atan}\left (\frac {b^4\,x\,1{}\mathrm {i}-b\,x\,\sqrt {-64\,a^3\,c^3+48\,a^2\,b^2\,c^2-12\,a\,b^4\,c+b^6}\,1{}\mathrm {i}+a^2\,c^2\,x\,16{}\mathrm {i}-a\,b^2\,c\,x\,8{}\mathrm {i}}{4\,a\,b^4\,\sqrt {-\frac {\sqrt {-64\,a^3\,c^3+48\,a^2\,b^2\,c^2-12\,a\,b^4\,c+b^6}-b^3+4\,a\,b\,c}{128\,a^3\,c^2-64\,a^2\,b^2\,c+8\,a\,b^4}}+64\,a^3\,c^2\,\sqrt {-\frac {\sqrt {-64\,a^3\,c^3+48\,a^2\,b^2\,c^2-12\,a\,b^4\,c+b^6}-b^3+4\,a\,b\,c}{128\,a^3\,c^2-64\,a^2\,b^2\,c+8\,a\,b^4}}-32\,a^2\,b^2\,c\,\sqrt {-\frac {\sqrt {-64\,a^3\,c^3+48\,a^2\,b^2\,c^2-12\,a\,b^4\,c+b^6}-b^3+4\,a\,b\,c}{128\,a^3\,c^2-64\,a^2\,b^2\,c+8\,a\,b^4}}}\right )\,\sqrt {-\frac {\sqrt {-64\,a^3\,c^3+48\,a^2\,b^2\,c^2-12\,a\,b^4\,c+b^6}-b^3+4\,a\,b\,c}{128\,a^3\,c^2-64\,a^2\,b^2\,c+8\,a\,b^4}}\,2{}\mathrm {i} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/(a - b*x^2 + c*x^4),x)

[Out]

- atan((b^4*x*1i + b*x*(b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)^(1/2)*1i + a^2*c^2*x*16i - a*b^2*c*x*8
i)/(4*a*b^4*((b^3 + (b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)^(1/2) - 4*a*b*c)/(8*a*b^4 + 128*a^3*c^2 -
 64*a^2*b^2*c))^(1/2) + 64*a^3*c^2*((b^3 + (b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)^(1/2) - 4*a*b*c)/(
8*a*b^4 + 128*a^3*c^2 - 64*a^2*b^2*c))^(1/2) - 32*a^2*b^2*c*((b^3 + (b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*
b^4*c)^(1/2) - 4*a*b*c)/(8*a*b^4 + 128*a^3*c^2 - 64*a^2*b^2*c))^(1/2)))*((b^3 + (b^6 - 64*a^3*c^3 + 48*a^2*b^2
*c^2 - 12*a*b^4*c)^(1/2) - 4*a*b*c)/(8*a*b^4 + 128*a^3*c^2 - 64*a^2*b^2*c))^(1/2)*2i - atan((b^4*x*1i - b*x*(b
^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)^(1/2)*1i + a^2*c^2*x*16i - a*b^2*c*x*8i)/(4*a*b^4*(-((b^6 - 64*
a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)^(1/2) - b^3 + 4*a*b*c)/(8*a*b^4 + 128*a^3*c^2 - 64*a^2*b^2*c))^(1/2) +
64*a^3*c^2*(-((b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)^(1/2) - b^3 + 4*a*b*c)/(8*a*b^4 + 128*a^3*c^2 -
 64*a^2*b^2*c))^(1/2) - 32*a^2*b^2*c*(-((b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)^(1/2) - b^3 + 4*a*b*c
)/(8*a*b^4 + 128*a^3*c^2 - 64*a^2*b^2*c))^(1/2)))*(-((b^6 - 64*a^3*c^3 + 48*a^2*b^2*c^2 - 12*a*b^4*c)^(1/2) -
b^3 + 4*a*b*c)/(8*a*b^4 + 128*a^3*c^2 - 64*a^2*b^2*c))^(1/2)*2i

________________________________________________________________________________________

sympy [A]  time = 1.25, size = 87, normalized size = 0.58 \begin {gather*} \operatorname {RootSum} {\left (t^{4} \left (256 a^{3} c^{2} - 128 a^{2} b^{2} c + 16 a b^{4}\right ) + t^{2} \left (16 a b c - 4 b^{3}\right ) + c, \left (t \mapsto t \log {\left (x + \frac {- 32 t^{3} a^{2} b c + 8 t^{3} a b^{3} + 4 t a c - 2 t b^{2}}{c} \right )} \right )\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(1/(c*x**4-b*x**2+a),x)

[Out]

RootSum(_t**4*(256*a**3*c**2 - 128*a**2*b**2*c + 16*a*b**4) + _t**2*(16*a*b*c - 4*b**3) + c, Lambda(_t, _t*log
(x + (-32*_t**3*a**2*b*c + 8*_t**3*a*b**3 + 4*_t*a*c - 2*_t*b**2)/c)))

________________________________________________________________________________________